<div>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th class="mw-100">编号</th>
            <th class="mw-50">名称</th>
            <th class="mw-50">单价</th>
            <th class="mw-50 hidden-xs">数量</th>
            <th class="mw-50">成本</th>
            <th class="mw-50 hidden-xs">图片</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-show="!data.items || data.items.length == 0">
            <td colspan="9" class="ta-c">
                <span ng-show="loading">数据加载中...</span>
                <span ng-show="!loading">暂无数据</span>
            </td>
        </tr>
        <tr ng-repeat="item in data.items" class="pointer">
            <td ui-sref="proj({id:'{{item.id}}'})">{{item.code||'-'}}</td>
            <td ui-sref="proj({id:'{{item.id}}'})">{{item.name||'-'}}</td>
            <td ui-sref="proj({id:'{{item.id}}'})">{{item.price||'-'}}</td>
            <td class="mw-50 hidden-xs" ui-sref="proj({id:'{{item.id}}'})">{{item.num||'-'}}</td>
            <td ui-sref="proj({id:'{{item.id}}',target:'progressessProblemSize'})">{{item.price1}}</td>
            <td class="mw-50 hidden-xs" ui-sref="proj({id:'{{item.id}}',target:'remarks0'})"><img src='js/data/1.jpg'/></td>
        </tr>
        </tbody>
    </table>

    <div class="noPrint">
        <small>
            共 {{data.totalPages}} 页 {{data.totalElements}} 条记录
            跳转到第<input  ng-blur="goToPage()" ng-keyup="enterGoToPage($event)" ng-keypress="goPageNumberKey=0"  ng-init="goToPageNumber=1" ng-model="goToPageNumber" type="text" style="height:18px;width:40px;">页
            <span class='text-danger'>&nbsp;&nbsp;{{goToPageNumberValidate}}</span>
        </small>
    </div>

    <uib-pagination class="noPrint"
                    total-items="data.totalElements"
                    ng-show="data.totalPages > 1"
                    next-text="下一页"
                    previous-text="上一页"
                    max-size="5"
                    items-per-page="data.limit"
                    ng-model="data.page"
                    num-pages="data.totalPages"
                    ng-change="pageChanged()"
                    boundary-link-numbers="true"
                    rotate="false">
    </uib-pagination>


</div>

